package com.healthsystem.portplay.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.swing.*;

@RestController //让本类返回的全是string类型的注解
public class TestController {
//    Spring MVC 控制器,映射地址
    @RequestMapping("/test")

    public String test(){
    return "ok";
    }
}
